package com.lzx.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 程序员星星
 * @date 2022/12/28
 * @Description
 */
@Getter
@AllArgsConstructor
public enum InformType {
    COMMENTPROBLEM(1, "评论(问题)"),
    FANS(2, "新增粉丝"),
    LIKE(3, "赞(评论)"),
    COLLECT(4, "收藏"),
    FRIENDAPPLY(5, "好友申请"),
    LIKEPROBLEM(6, "赞(问题)"),
    LIKEARTICLE(7, "赞(文章)"),
    COMMENTARTICLE(8, "评论(文章)"),
    SYSTEMINFORM(9, "系统通知");
    @EnumValue
    private final Integer type;
    @JsonValue
    private final String desc;
}
